package com.xinruke.hostels.reservation.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author GuoZheng
 * @ClassName OrderListQueryResultDto
 * @date：2019/6/13
 * @version: V1.0.0
 * @description：
 */
@ApiModel("房间预订列表请求返回DTO")
@Data
public class RoomOrderListQueryResultDTO {


    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id")
    private Integer huiyuanId;
    /**
     *
     * 名称
     */
    @ApiModelProperty(value = "预订人名称")
    private String yudingrenxingming;
    /**
     *
     * 名称
     */
    @ApiModelProperty(value = "旅客信息")
    private String lvkexinxi;
    /**
     * 酒店id
     */
    @ApiModelProperty(value = "酒店id")
    private Integer jiudianId;

    /**
     * 酒店名称
     */
    @ApiModelProperty(value = "酒店名称")
    private String jiudianMingcheng;


    /**
     * 入住总人数
     */
    @ApiModelProperty(value = "入住总人数")
    private Integer ruzhuzongrenshu;

    /**
     * 订单总价
     */
    @ApiModelProperty(value = "订单总价")
    private BigDecimal dingdanzongjia;


    /**
     * 房间门店单价
     */
    @ApiModelProperty(value = "房间门店单价")
    private BigDecimal mendianjia;


    /**
     * 房型优惠价
     */
    @ApiModelProperty(value = "优惠价")
    private BigDecimal youhuijia;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String dingdanhao;

    /**
     * 房型名称
     */
    @ApiModelProperty("房间类型")
    private String fangxingmingcheng;

    /**
     * 建议调整时间
     */
    @ApiModelProperty(value = "建议调整时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date jianyitiaozhengshijian;

    /**
     *  状态：0-已取消，1已提交；2已入住；3已完成
     */
    @ApiModelProperty(value = "状态：0-已取消，1已提交；2已入住；3已完成")
    private Byte zhuangtai;

    /**
     * 评价状态 0-未评价，1-已评价
     */
    @ApiModelProperty("评价状态 0-未评价，1-已评价")
    private Integer pingjiazhuangtai;

    /**
     * 状态名称
     */
    @ApiModelProperty(value = "状态名称")
    private String zhuangtaiMinCheng;


    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String beizhu;


    @ApiModelProperty(value = "创建时间(预订日期)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty(value = "入住日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijian;

    @ApiModelProperty("入住天数")
    private Integer ruzhutianshu;

    /**
     * 离开时间
     */
    @ApiModelProperty(value = "离开时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijian;


    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;



}
